#pragma once
class URL
{
public:
	URL(string url);
	~URL();

	string GetDomain();
	string GetMethod();
	int GetPort();
	string GetParams();
	string SubPage();
	string ToString();
private:
	string url;
	bool Analyze(string url);

	string domain;
	string method;
	int port = -1;
	string params;
	string subPage;
};

